<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .d1{
            width: 600px;
            height: 200px;
            border: 1px solid red;

            background: url(../day07/imgs/adv.png) no-repeat;
            /* background-size: 500px 300px; */
            /* background-size: 100% 100%; */
            /* background-size: cover; */
            background-size: contain;
        }
        .d2{
            width: 600px;
            height: 400px;
            border: 1px solid blue;

            background: url(../day07/imgs/buy.png) no-repeat left top,
                        url(../day07/imgs/shop.png) no-repeat right top,
                        url(../day07/imgs/history.png) no-repeat left bottom;
        }
    </style>
</head>
<body>
    <div class="d1"></div>
    <hr>
    <div class="d2"></div>
</body>
</html>